#!/usr/bin/env python
# -*- coding: UTF-8 -*-
#
# Copyright [Gtlions Lai].
# Create Date:
# Update Date:
"""summarization ahout this script.

detail ahout this script

    Class(): summarization about Class
    ...
    function(): summarization about function
    ...
"""
__authors__ = '"Gtlions Lai" <gtlions.l@qq.com>'

import fdb

conn = fdb.connect(dsn="gtlions1.fdb", user="gtlions", password="G1!tlion", charset="utf8")
cur = conn.cursor()
# cur.execute("insert into std(id,name,age) values (9999,'赖东叶',12)")
cur.execute("select * from std where id=9999")
ret = cur.fetchall()
for a in ret:
    str = a[1]
    print isinstance(str, unicode)

conn.commit()
conn.close()
